#define _CRT_SECURE_NO_WARNINGS 1

#include "List.h"

void test()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 7);
	LTPushBack(plist, 8);
	LTPushBack(plist, 9);
	LTPushBack(plist, 10);
	LTPrint(plist);

	LTPushFront(plist, 5);
	LTPushFront(plist, 4);
	LTPushFront(plist, 3);
	LTPushFront(plist, 2);
	LTPushFront(plist, 1);
	LTPrint(plist);

	LTPopBack(plist);
	LTPopBack(plist);
	LTPrint(plist);

	LTPopFront(plist);
	LTPopFront(plist);
	LTPrint(plist);

	LTNode* ret = LTFind(plist, 5);
	LTInsert(ret,100);
	LTPrint(plist);

	LTNode* index = LTFind(plist, 100);
	LTErase(index);
	LTPrint(plist);

}
int main()
{
	//test();
	int* a = NULL;
	assert(1);
	return 0;
}